package com.langshixiaobai.mqdemo;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class MqDemoApplication {
    //获取应用上下文对象，用于从容器中获取bean
    public static ConfigurableApplicationContext context ;

    public static void main(String[] args) {
        context = SpringApplication.run(MqDemoApplication.class, args);
    }

}
